from selenium import webdriver
from selenium.webdriver.common.by import By
import ddddocr

##提供键盘按键的支持，比如：RETURN, F1, ALT等
from selenium.webdriver.common.keys import Keys  


driver = webdriver.Firefox()
driver.get("http://106.38.235.201:7080/cas/login")
driver.find_element(By.ID,"username").send_keys("43132220201")
driver.find_element(By.ID,"password").send_keys("Tmxczx@1234")

code_input = driver.find_element(By.ID , value='//input[@name="txtSecretCode"]')

